// default package
// Generated 28 Jul, 2014 8:04:07 PM by Hibernate Tools 3.4.0.CR1
package com.galaxy.bean;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.OneToOne;
import javax.persistence.PrimaryKeyJoinColumn;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import org.hibernate.annotations.GenericGenerator;
import org.hibernate.annotations.Parameter;

/**
 * CatalogCategoryFlatStore2 generated by hbm2java
 */
@Entity
@Table(name = "catalog_category_flat_store_2", catalog = "magento")
public class CatalogCategoryFlatStore2 implements java.io.Serializable {

	private int entityId;
	private CatalogCategoryEntity catalogCategoryEntity;
	private CoreStore coreStore;
	private int parentId;
	private Date createdAt;
	private Date updatedAt;
	private String path;
	private int position;
	private int level;
	private int childrenCount;
	private String allChildren;
	private String availableSortBy;
	private String children;
	private Integer customApplyToProducts;
	private String customDesign;
	private Date customDesignFrom;
	private Date customDesignTo;
	private String customLayoutUpdate;
	private Integer customUseParentSettings;
	private String defaultSortBy;
	private String description;
	private String displayMode;
	private Integer filterPriceRange;
	private String image;
	private Integer includeInMenu;
	private Integer isActive;
	private Integer isAnchor;
	private Integer landingPage;
	private String metaDescription;
	private String metaKeywords;
	private String metaTitle;
	private String name;
	private String pageLayout;
	private String pathInStore;
	private String thumbnail;
	private String urlKey;
	private String urlPath;

	public CatalogCategoryFlatStore2() {
	}

	public CatalogCategoryFlatStore2(
			CatalogCategoryEntity catalogCategoryEntity, CoreStore coreStore,
			int parentId, String path, int position, int level,
			int childrenCount) {
		this.catalogCategoryEntity = catalogCategoryEntity;
		this.coreStore = coreStore;
		this.parentId = parentId;
		this.path = path;
		this.position = position;
		this.level = level;
		this.childrenCount = childrenCount;
	}

	public CatalogCategoryFlatStore2(
			CatalogCategoryEntity catalogCategoryEntity, CoreStore coreStore,
			int parentId, Date createdAt, Date updatedAt, String path,
			int position, int level, int childrenCount, String allChildren,
			String availableSortBy, String children,
			Integer customApplyToProducts, String customDesign,
			Date customDesignFrom, Date customDesignTo,
			String customLayoutUpdate, Integer customUseParentSettings,
			String defaultSortBy, String description, String displayMode,
			Integer filterPriceRange, String image, Integer includeInMenu,
			Integer isActive, Integer isAnchor, Integer landingPage,
			String metaDescription, String metaKeywords, String metaTitle,
			String name, String pageLayout, String pathInStore,
			String thumbnail, String urlKey, String urlPath) {
		this.catalogCategoryEntity = catalogCategoryEntity;
		this.coreStore = coreStore;
		this.parentId = parentId;
		this.createdAt = createdAt;
		this.updatedAt = updatedAt;
		this.path = path;
		this.position = position;
		this.level = level;
		this.childrenCount = childrenCount;
		this.allChildren = allChildren;
		this.availableSortBy = availableSortBy;
		this.children = children;
		this.customApplyToProducts = customApplyToProducts;
		this.customDesign = customDesign;
		this.customDesignFrom = customDesignFrom;
		this.customDesignTo = customDesignTo;
		this.customLayoutUpdate = customLayoutUpdate;
		this.customUseParentSettings = customUseParentSettings;
		this.defaultSortBy = defaultSortBy;
		this.description = description;
		this.displayMode = displayMode;
		this.filterPriceRange = filterPriceRange;
		this.image = image;
		this.includeInMenu = includeInMenu;
		this.isActive = isActive;
		this.isAnchor = isAnchor;
		this.landingPage = landingPage;
		this.metaDescription = metaDescription;
		this.metaKeywords = metaKeywords;
		this.metaTitle = metaTitle;
		this.name = name;
		this.pageLayout = pageLayout;
		this.pathInStore = pathInStore;
		this.thumbnail = thumbnail;
		this.urlKey = urlKey;
		this.urlPath = urlPath;
	}

	@GenericGenerator(name = "generator", strategy = "foreign", parameters = @Parameter(name = "property", value = "catalogCategoryEntity"))
	@Id
	@GeneratedValue(generator = "generator")
	@Column(name = "entity_id", unique = true, nullable = false)
	public int getEntityId() {
		return this.entityId;
	}

	public void setEntityId(int entityId) {
		this.entityId = entityId;
	}

	@OneToOne(fetch = FetchType.LAZY)
	@PrimaryKeyJoinColumn
	public CatalogCategoryEntity getCatalogCategoryEntity() {
		return this.catalogCategoryEntity;
	}

	public void setCatalogCategoryEntity(
			CatalogCategoryEntity catalogCategoryEntity) {
		this.catalogCategoryEntity = catalogCategoryEntity;
	}

	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "store_id", nullable = false)
	public CoreStore getCoreStore() {
		return this.coreStore;
	}

	public void setCoreStore(CoreStore coreStore) {
		this.coreStore = coreStore;
	}

	@Column(name = "parent_id", nullable = false)
	public int getParentId() {
		return this.parentId;
	}

	public void setParentId(int parentId) {
		this.parentId = parentId;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "created_at", length = 19)
	public Date getCreatedAt() {
		return this.createdAt;
	}

	public void setCreatedAt(Date createdAt) {
		this.createdAt = createdAt;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "updated_at", length = 19)
	public Date getUpdatedAt() {
		return this.updatedAt;
	}

	public void setUpdatedAt(Date updatedAt) {
		this.updatedAt = updatedAt;
	}

	@Column(name = "path", nullable = false)
	public String getPath() {
		return this.path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	@Column(name = "position", nullable = false)
	public int getPosition() {
		return this.position;
	}

	public void setPosition(int position) {
		this.position = position;
	}

	@Column(name = "level", nullable = false)
	public int getLevel() {
		return this.level;
	}

	public void setLevel(int level) {
		this.level = level;
	}

	@Column(name = "children_count", nullable = false)
	public int getChildrenCount() {
		return this.childrenCount;
	}

	public void setChildrenCount(int childrenCount) {
		this.childrenCount = childrenCount;
	}

	@Column(name = "all_children", length = 65535)
	public String getAllChildren() {
		return this.allChildren;
	}

	public void setAllChildren(String allChildren) {
		this.allChildren = allChildren;
	}

	@Column(name = "available_sort_by", length = 65535)
	public String getAvailableSortBy() {
		return this.availableSortBy;
	}

	public void setAvailableSortBy(String availableSortBy) {
		this.availableSortBy = availableSortBy;
	}

	@Column(name = "children", length = 65535)
	public String getChildren() {
		return this.children;
	}

	public void setChildren(String children) {
		this.children = children;
	}

	@Column(name = "custom_apply_to_products")
	public Integer getCustomApplyToProducts() {
		return this.customApplyToProducts;
	}

	public void setCustomApplyToProducts(Integer customApplyToProducts) {
		this.customApplyToProducts = customApplyToProducts;
	}

	@Column(name = "custom_design")
	public String getCustomDesign() {
		return this.customDesign;
	}

	public void setCustomDesign(String customDesign) {
		this.customDesign = customDesign;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "custom_design_from", length = 19)
	public Date getCustomDesignFrom() {
		return this.customDesignFrom;
	}

	public void setCustomDesignFrom(Date customDesignFrom) {
		this.customDesignFrom = customDesignFrom;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "custom_design_to", length = 19)
	public Date getCustomDesignTo() {
		return this.customDesignTo;
	}

	public void setCustomDesignTo(Date customDesignTo) {
		this.customDesignTo = customDesignTo;
	}

	@Column(name = "custom_layout_update", length = 65535)
	public String getCustomLayoutUpdate() {
		return this.customLayoutUpdate;
	}

	public void setCustomLayoutUpdate(String customLayoutUpdate) {
		this.customLayoutUpdate = customLayoutUpdate;
	}

	@Column(name = "custom_use_parent_settings")
	public Integer getCustomUseParentSettings() {
		return this.customUseParentSettings;
	}

	public void setCustomUseParentSettings(Integer customUseParentSettings) {
		this.customUseParentSettings = customUseParentSettings;
	}

	@Column(name = "default_sort_by")
	public String getDefaultSortBy() {
		return this.defaultSortBy;
	}

	public void setDefaultSortBy(String defaultSortBy) {
		this.defaultSortBy = defaultSortBy;
	}

	@Column(name = "description", length = 65535)
	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	@Column(name = "display_mode")
	public String getDisplayMode() {
		return this.displayMode;
	}

	public void setDisplayMode(String displayMode) {
		this.displayMode = displayMode;
	}

	@Column(name = "filter_price_range")
	public Integer getFilterPriceRange() {
		return this.filterPriceRange;
	}

	public void setFilterPriceRange(Integer filterPriceRange) {
		this.filterPriceRange = filterPriceRange;
	}

	@Column(name = "image")
	public String getImage() {
		return this.image;
	}

	public void setImage(String image) {
		this.image = image;
	}

	@Column(name = "include_in_menu")
	public Integer getIncludeInMenu() {
		return this.includeInMenu;
	}

	public void setIncludeInMenu(Integer includeInMenu) {
		this.includeInMenu = includeInMenu;
	}

	@Column(name = "is_active")
	public Integer getIsActive() {
		return this.isActive;
	}

	public void setIsActive(Integer isActive) {
		this.isActive = isActive;
	}

	@Column(name = "is_anchor")
	public Integer getIsAnchor() {
		return this.isAnchor;
	}

	public void setIsAnchor(Integer isAnchor) {
		this.isAnchor = isAnchor;
	}

	@Column(name = "landing_page")
	public Integer getLandingPage() {
		return this.landingPage;
	}

	public void setLandingPage(Integer landingPage) {
		this.landingPage = landingPage;
	}

	@Column(name = "meta_description", length = 65535)
	public String getMetaDescription() {
		return this.metaDescription;
	}

	public void setMetaDescription(String metaDescription) {
		this.metaDescription = metaDescription;
	}

	@Column(name = "meta_keywords", length = 65535)
	public String getMetaKeywords() {
		return this.metaKeywords;
	}

	public void setMetaKeywords(String metaKeywords) {
		this.metaKeywords = metaKeywords;
	}

	@Column(name = "meta_title")
	public String getMetaTitle() {
		return this.metaTitle;
	}

	public void setMetaTitle(String metaTitle) {
		this.metaTitle = metaTitle;
	}

	@Column(name = "name")
	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Column(name = "page_layout")
	public String getPageLayout() {
		return this.pageLayout;
	}

	public void setPageLayout(String pageLayout) {
		this.pageLayout = pageLayout;
	}

	@Column(name = "path_in_store", length = 65535)
	public String getPathInStore() {
		return this.pathInStore;
	}

	public void setPathInStore(String pathInStore) {
		this.pathInStore = pathInStore;
	}

	@Column(name = "thumbnail")
	public String getThumbnail() {
		return this.thumbnail;
	}

	public void setThumbnail(String thumbnail) {
		this.thumbnail = thumbnail;
	}

	@Column(name = "url_key")
	public String getUrlKey() {
		return this.urlKey;
	}

	public void setUrlKey(String urlKey) {
		this.urlKey = urlKey;
	}

	@Column(name = "url_path")
	public String getUrlPath() {
		return this.urlPath;
	}

	public void setUrlPath(String urlPath) {
		this.urlPath = urlPath;
	}

}
